package top.wuyang.springboot3.schoolTimetable.service;

import top.wuyang.springboot3.base.PageBean;
import top.wuyang.springboot3.base.R;
import top.wuyang.springboot3.schoolTimetable.entity.TbSubject;
import top.wuyang.springboot3.vo.PageVO;

public interface TbSubjectService {
    R<PageVO<TbSubject>> query(PageBean pageBean, TbSubject tbSubject);

    R<TbSubject> queryById(Integer id);

    R<String> insert(TbSubject tbSubject);

    R<String> update(TbSubject tbSubject);

    R<String> delete(Integer id);
}
